package com.emep.changzhi.analyse.entity.basics;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @author Wangcc
 * @version V1.0
 * @Description: 排放量指标信息表
 * @date 2018/2/27 16:37
 */
@Table(name = "sys_emission_index_info")
@Entity
@Data
public class SysEmissionIndexInfo implements Serializable {

    private static final long serialVersionUID = 1204536838934289933L;


    @Id
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @GeneratedValue(generator = "system-uuid")
    private String id;
    @Column(name = "company_id",columnDefinition="varchar(100) COMMENT '企业id'" )
    private String companyId;
    @Column(name = "area_code",columnDefinition="varchar(100) COMMENT '辖区行政编码'" )
    private String areaCode;
    @Column(name = "monitor_type_id",columnDefinition="varchar(100) COMMENT '检测类型ID'" )
    private String monitorTypeId;
    @Column(name = "factor_id",columnDefinition="varchar(100) COMMENT '因子id'" )
    private String factorId;
    @Column(name = "emission_index_number",columnDefinition="varchar(100) COMMENT '允许排放量'" )
    private String emissionIndexNumber;
    @Column(name = "index_type",columnDefinition="varchar(100) COMMENT '指标类型企业还是辖区'" )
    private String indexType;
    @Column(name = "is_delete",columnDefinition="varchar(100) COMMENT '删除状态'" )
    private String isDelete = "0";
    @Column(name = "create_date",columnDefinition="varchar(100) COMMENT '信息录入时间'" )
    private String createDate = String.valueOf(System.currentTimeMillis());




}
